<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">

    <script src="./js/jquery.min.js"></script>

    <title></title>
</head>

<body>

    <script>
        $(document).ready(function () {

            $("#btn1").click(function () {
                $.getJSON("./js/2032.json",function(result){
                    $.each(result,function(i,a){
                        //$(a).append(b);
                        $("div").append(a+" ");
                    })

                })


            })


        });

    </script>


    <button id="btn1" type="button">获取json</button>
    <div></div>






</body>

</html>